home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / music / dmp250.zip / DMP.DOC < prev    next >
Text File  |  1993-05-25  |  9KB  |  199 lines

  1.  
  2.  
  3.                 DMP.DOC
  4.  
  5.          Documentation for the Dual Module Player v2.46
  6.  
  7.           Copyright (C) 1992,1993 Otto Chrons
  8.  
  9.  
  10.  DMP.EXE is  a program    demonstrating the  capabilities of the DSMI
  11.  programming interface (DSMI stands for Digital Sound & Music
  12.  Interface). It's a standalone module  player with  which  you can play
  13.  STM (also S3M,669) files  as well  as Amiga modules (MOD or NST). DMP is
  14.  freeware so you  can freely distribute  it and I hope you did, as long
  15.  as you include this help file with the executable.
  16.  
  17.            Here is the command line syntax:
  18.  
  19.            DMP [options] [modulename] [@listfile] [options]
  20.  
  21.            Where:
  22.            ------
  23.        modulename : name of a module (wildcards *,? allowed)
  24.        listfile   : name of a file containing list of module names
  25.  
  26.        options  : -Sxxxx          set sampling rate 4000-44100
  27.                       alternatively 4-44
  28.               -H or -?          show help screen
  29.               -Ix          interrupt number
  30.               -Pxxx          port address (use 42 for PC speaker)
  31.               -Dx          DMA channel
  32.               -O          Scramble module order
  33.               -L          Inhibit looping
  34.               -M          Mono mode (SB16 & PAS)
  35.               -Q          Quality mode (on 8-bit cards only)
  36.               -Cx             Desired card where x is:
  37.                     1 for Sound Blaster
  38.                     2 for Sound Blaster Pro
  39.                     3 for PAS+
  40.                     4 for PAS16
  41.                     5 for SB16
  42.                     6 for general DAC (Covox,PC speaker)
  43.                     7 for Aria cards
  44.               -Txxx          Buffer size xxx (0-32000)
  45.               -E          Disable extended tempos (MOD only)
  46.               -Axxx          Amplify by xxx, 31 is normal volume
  47.               -B          Disable EMS usage
  48.  
  49.  If you use some options all the time, you can put them into an
  50.  environment variable DMP:
  51.  
  52.     Example:
  53.  
  54.  You always want to use quality mode and sampleing rate of 22kHz and
  55.  mono mode, put following line into your AUTOEXEC.BAT
  56.  
  57.     SET DMP=-q -s22 -m
  58.  
  59.  NOTE!    You cannot override single letter options (-l,-o,-m,-q) with
  60.  command line parameters. All other options can be overriden.
  61.  
  62.  You may have to  give your soundcard's IRQ  number and/or port address
  63.  if DMP fails to find them. If you don't provide both values then DMP
  64.  will assume 220h for port address, and 7 for interrupt number. Giving
  65.  wrong address    will hang  your machine,  but wrong interrupt number
  66.  only stops the playing after a second. The "/C" option is useful if you
  67.  want to use some other card, than the one DMP automatically detects.
  68.  
  69.  You don't  have  to add  any extension  to  the name,  because the
  70.  program will try  extensions AMF, STM, 669, S3M, MOD and  NST if it
  71.  doesn't find the file. Note that you can supply many modulenames and
  72.  list files, up to the internal limit of 1024 modulenames.
  73.  
  74.        Example:
  75.  
  76.        DMP beyond -s20 *.NST @goodmods
  77.  
  78.        goodmods is a text file containing following lines:
  79.        occ-san
  80.        stars
  81.        intro3
  82.  
  83.  DMP  will use    the  sampling  rate  of  20KHz    and  play following
  84.  modules: BEYOND.MOD,  OCC-SAN.STM, STARS.MOD, INTRO3.MOD  and all
  85.  .NST-files in the current directory.
  86.  
  87.  
  88.                 How to use DMP
  89.  
  90.  After DMP has    loaded the first  module, it starts  to play it and
  91.  shows some information about  it. DMP displays module's  name, its file
  92.  size, the amount of  memory used for module and sampling rate.  Because
  93.  of the AMP's Intelligent Module Loader  (IML) modules  usually take
  94.  10-30% less  space. I've  seen a 244Kb module shrink into 151Kb when I
  95.  loaded it with DMP. While playing, DMP updates fields showing current
  96.  pattern, row, elapsed time, volume and sampling rate. Under these
  97.  fields are four lines showing the current status of the corresponding
  98.  tracks. Here is an example:
  99.  
  100.  ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  101.    bassdrum            │ F#2 │ 64 │               │ ■■■■■■■■■■■■■■■■■■■■■
  102.    strings7            │ D-3 │ 20 │ ARPEGGIO      │ ■■■■■■■■■■■■■■■
  103.    guitar42            │ E-2 │ 12 │ PORT.NOTE     │ ■■■■■■■■■■■
  104.    guitar44            │ G-2 │ 57 │ FINE VOL      │ ■■■■■■■■■■■■■■■■■■
  105.  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  106.  
  107.  The first  field shows  the instrument  currently playing  on that
  108.  track. Second is the note value, third its volume and fourth indicates
  109.  what special command is running. The bar simulates a VU  meter on music
  110.  equipment, but you shouldn't take it  as  an exact  representation of
  111.  the music  level, it's there because it looks nice!
  112.  
  113.  The rest of the screen is filled with instrument names. The numbers before an
  114.  instrument name indicate the channels that instrument is playing on.
  115.  
  116.  Pressing 'H'  bring up a  quick-help showing  command line options and
  117.  keys used to control the program.
  118.  
  119.            Keys :
  120.           ────────
  121.  
  122.        P        pause module, any key resumes
  123.        1-9        turn track xx on/off
  124.        0        turn selected track on/off
  125.        D        DOS shell (write EXIT to get back)
  126.        N        load next module (if you have supplied more than one)
  127.        S        stereo mode on/off (SB Pro), default is on
  128.        F        filter on/off (SB Pro), default is off
  129.        left/right    Jump to next/previous pattern
  130.        up/down    select track
  131.        F1-F10,+,-    set volume
  132.        [,]        Set new speed
  133.        {,}        Set new tempo
  134.        (,)        Add/remove channel
  135.        V        Real/fake volume bars
  136.        , .        Panning left/right
  137.        H        Help screen
  138.        ESC        exit
  139.  
  140.  Try this module player  with all the modules  you have, and if you
  141.  encounter problems with any modules, inform the author. Have fun.
  142.  
  143.  
  144.                ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  145.                 Contacting the author
  146.                ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  147.  
  148.        ┌─────────────────────────────────────────────────────────────────────┐
  149.        │                                                                     │
  150.        │   By mail:                                                          │
  151.        │   ────────                                                          │
  152.        │                                                                     │
  153.        │            Otto Chrons                                              │
  154.        │            Pyydyspolku 5                                            │
  155.        │            SF-36200 Kangasala                                       │
  156.        │            FINLAND                                                  │
  157.        │                                                                     │
  158.        │   Fidonet:                                                          │
  159.        │   ─────────                                                         │
  160.        │        2:222/348.10                         │
  161.        │   SBC-net:                                                          │
  162.        │   ─────────                                                         │
  163.        │        14:1510/500.10                         │
  164.        │                                                                     │
  165.        │   InterNet:                                                         │
  166.        │   ──────────                                                        │
  167.        │            c142092@cc.tut.fi (fastest method to contact)            │
  168.        │                                                                     │
  169.        └─────────────────────────────────────────────────────────────────────┘
  170.  
  171.     Newest version is always available at:
  172.  
  173.        ┌─────────────────────────────────────────┐
  174.        │ R.A. LAW      +358-37-49007    24h     │
  175.        │ Moonlight shadow +358-0-3882575   24h     │
  176.        │ POP              +358-18-550136   24h   │
  177.        └─────────────────────────────────────────┘
  178.  
  179.     See CABINET.DMP for a list of DMP support sites in Finland.
  180.  
  181.     See DMP.REV for revision history.
  182.  
  183.                 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  184.                  For programmers only
  185.                 ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  186.  
  187.  
  188.  DMP was  created with    Borland C++  3.1 and  it is  based on DSMI's
  189.  routines, so by ordering DSMI interface you could write programs with
  190.  similar capabilities. DSMI is a collection of    routines (for C and
  191.  Turbo Pascal) that allows programmers to play    modules in the
  192.  background, but unlike any other module player it also allows
  193.  simultaneous sound effects!! Up to 32 channels can be used which means
  194.  that you can have a module and sound effects playing in full stereo (on
  195.  cards which support stereo sound)! DSMI is available and the price is
  196.  270FMK ($70). Packet includes full documentation (printed), OBJ files &
  197.  libraries for C version, TPUs for Turbo Pascal and also some of the
  198.  source code so you can modify the behaviour of DSMI.
  199.